<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <!-- 表格属性一定要写到表格标签table中去 -->
    <table align="center" border="1" cellpadding="20" cellspacing="0">
        <tr><th>姓名</th>   <th>性别</th>   <th>年龄</th></tr>   
        <tr><td>刘德华</td>   <td>男</td>   <td>56</td></tr>
        <tr><td>张学友</td>   <td>男</td>   <td>58</td></tr>
        <tr><td>郭富城</td>   <td>男</td>   <td>57</td></tr>
        <tr><td>黎明</td>   <td>男</td>   <td>51</td></tr>
    </table>
</body>
</html>